package com.lianqi.emcpframework.design.domain.event;

/**
 * @program emcp-framework
 * @ClassName DomainEventSubscriber
 * @description: 领域事件订阅接口
 * @author: sky
 * @create: 2019/06/06 10:29
 */
public interface DomainEventSubscriber<E extends DomainEvent> {

    boolean accept(E event);
}
